
#include "stdafx.h"
#include "NSyncObject.h"

NSyncObject::NSyncObject(CRITICAL_SECTION& in_CS) : m_CS(in_CS)
{
	::EnterCriticalSection(&m_CS);
}

NSyncObject::~NSyncObject()
{
	::LeaveCriticalSection(&m_CS);
}

